import instance from "@/utils/request";

// 点赞/取消 点赞/收藏
export const setCollectApi = (id, optType) => {
  return instance.post('/interview/opt', {id, optType})
}

// 收藏、点赞题目列表查询接口
export const getCollectOrLikeListApi = (params) => {
  return instance.get('/interview/opt/list', {params})
}